<div class="page page-current" id='businessAdd'>
  <header class="bar bar-nav  bg-color">
  <a class="icon icon-left pull-left back cfff"></a>
    <h1 class="title business-title"></h1>
  </header>
<div class="content">
  <div class="list-block">
    <!-- <div style="display: none;" id="business-add-id">{{id}}</div> -->
    <form id="business-add-form" method="post" accept-charset="utf-8" action="/business/edit">
      <ul>
      <li>
        <div class="item-content">
          <div class="item-inner">
            <div class="item-title label"><span class="point">*</span>业务名称</div>
            <div class="item-input">
              <input type="hidden"  class="input-nm" name="id" id="business-id" value="{{id}}">
              <input type="text" placeholder="" id="business-name" name="name" data-descriptions="name" data-required="true" data-conditional="name">
            </div>
          </div>
        </div>
      </li>
      <li>
        <div class="item-content">
          <div class="item-inner">
            <div class="item-title label pl08">Key</div>
            <div class="item-input">
              <input type="text" placeholder="key" name="key" id="business-key">
            </div>
          </div>
        </div>
      </li>
      <li>
        <div class="item-content">
          <div class="item-inner">
            <div class="item-title label pl08">私有协议</div>
            <div class="item-input">
              <select name="protocolid" id="business-protocolid">
                  <option value=""  selected>请选择私有协议</option>
              </select>
            </div>
          </div>
        </div>
      </li>
      <li>
        <div class="item-content">
          <div class="item-inner">
            <div class="item-title label pl08">应用名称</div>
            <div class="item-input">
              <select name="appid" data-descriptions="appid" data-conditional="appid" id="business-app" >
                 <option value=""  selected>请选择应用</option>
              </select>
            </div>
          </div>
        </div>
      </li>
      <li>
        <div class="item-content">
          <div class="item-inner">
            <div class="item-title label "><span class="point">*</span>产品名称</div>
            <div class="item-input">
              <select id="business-productid" name="productid" data-descriptions="productid" data-conditional="productid" data-required="true">
                    <option value=""  selected >请选择产品</option>
              </select>
            </div>
          </div>
        </div>
      </li>
      <li>
        <div class="item-content">
          <div class="item-inner">
            <div class="item-title label pl08">业务描述</div>
            <div class="item-input">
              <textarea name="memo" data-descriptions="memo" id="business-memo" data-conditional="memo"></textarea>
            </div>
          </div>
        </div>
      </li>
    </ul>
    <div class="content-block">
      <div class="row">

        <div class="col-50">
          <!-- <a href="#" class="button button-big button-fill button-danger" id="subform" ><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">取消</font></font></a> -->
        <input class="button button-big button-fill button-danger" type="button" value="取消">
        </div>
        <div class="col-50">
          <!-- <a href="#" class="button button-big button-fill button-success"  onclick="tosubmit()"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">提交</font></font></a> -->
        <input class="button button-big button-fill button-success" type="submit" value="提交">
        </div>
      </div>
    </div>
    </form>
  </div>

</div>
</div>
